package com.alibaba.aone.casestudy.dao;

import java.util.List;

import com.alibaba.aone.casestudy.common.entity.Failure;

import com.alibaba.aone.casestudy.common.entity.FailureConditions;

/**
 * 类FailureDao.java的实现描述：TODO 类实现描述 
 * @author yongchun.chengyc 2011-5-3 下午08:15:35
 */
public interface FailureDao {
	Failure getFailureByNumber(String number);
	List<Failure> selectFailure(FailureConditions failureConditions);
	void update(Failure failure);
	void add(Failure failure);
	List<Failure> getAllFailures();
	Integer setFailureNumber();
	void delete(String number);

}
